package com.gskj.eduorder;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author : Connor-G 康纳-郭
 * @date : 18:01 20.8.17
 * @Company : http://www.gskj.club
 * @Version : 1.0
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients // 调用者
@ComponentScan({"com.gskj"})
@MapperScan({"com.gskj.eduorder.mapper"})
public class OrdersApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrdersApplication.class, args);
    }
}

